<ion-view id="home-view" view-title="主页" hide-nav-bar="true" wf-tab>
  <ion-header-bar align-title="center" class="bar-calm">
    <h1 class="title">{{mallName}}</h1>
  </ion-header-bar>

  <ion-content>

    <slide-banner items="banners"></slide-banner>
    <div class="alart">
      <img src="img/home/laba.png"/>
      <!--<span class="span">您的商城目前为<span class="font">{{mallData.shoptype}}</span></span>-->
      <span class="span">商城已开通，欢迎使用优品道友店!</span>
    </div>
    <div class="row row-no-padding mallHm">
      <img ng-src="{{mallData.shoplogo}}" style="width:40px;height:40px;margin: 30px 10px auto 10px;border-radius: 5px;"/>
      <div class="mallinfo">
        <span>{{mallData.shopname}}</span>
        <div class="img">
          <img src="img/home/phone1.png" ng-show="mallData.ismobile == '1'"/>
          <img src="img/home/phone2.png" ng-show="mallData.ismobile == '0'"/>
          <img src="img/home/email1.png" ng-show="mallData.isemail == '1'"/>
          <img src="img/home/email2.png" ng-show="mallData.isemail == '0'"/>
        </div>
      </div>
      <div class="right-btn">
        <button class="button" style="background-color:#c32506;color:white" ng-click="goodsAdd()"><span>+添加商品</span></button>
        <button class="button" style="background-color:white" ng-click="goShare($event)"><span>分享商城</span></button>
      </div>
    </div>
    <div class="menu-container">
      <div class="row row-no-padding" style="margin-top:15px">
        <div class="col" ng-click="goGoodsList()">
          <img src="img/home/icon.png" alt=""/>
          <p class="txt">商品管理</p>
        </div>
        <div class="col" ng-click="goTabMessage()">
          <img src="img/home/icon2.png" alt=""/>
          <p class="txt">新消息</p>
        </div>
        <div class="col" ng-click="goMallManage()">
          <img src="img/home/icon3.png" alt=""/>
          <p class="txt">提现管理</p>
        </div>
      </div>
      <div class="row row-no-padding menu-container" style="margin-top:35px">
        <div class="col" ng-click="goVipList()">
          <img src="img/home/icon4.png" alt=""/>
          <p class="txt">会员管理</p>
        </div>
        <div class="col" ng-click="goTabMarket()">
          <img src="img/home/icon5.png" alt=""/>
          <p class="txt">优品库</p>
        </div>
        <div class="col" ng-click="goGather()">
          <img src="img/home/icon6.png" alt=""/>
          <p class="txt">收款方式</p>
        </div>
      </div>
    </div>

    <div class="bottom-blank"></div>
  </ion-content>
</ion-view>
